How to check if a string is a numeric or not for example 1 is but x is not

welcome to shbcf.ru